<HTML>
<HEAD>
<title>DBMaker - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">org.mapdb</a>&nbsp;/&nbsp;<a href=".">DBMaker</a><br/>
<br/>
<h1>DBMaker</h1>
<code><span class="keyword">object </span><span class="identifier">DBMaker</span></code><br/>
<p><strong>Author</strong><br/>
Jan Kotek</p>
<br/>
<br/>
<h3>Types</h3>
<table>
<tbody>
<tr>
<td>
<a href="-maker/index.html">Maker</a></td>
<td>
<code><span class="keyword">class </span><span class="identifier">Maker</span></code></td>
</tr>
<tr>
<td>
<a href="-store-type/index.html">StoreType</a></td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">StoreType</span></code></td>
</tr>
</tbody>
</table>
<h3>Functions</h3>
<table>
<tbody>
<tr>
<td>
<a href="file-d-b.html">fileDB</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">fileDB</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.DBMaker$fileDB(kotlin.String)/file">file</span><span class="symbol">:</span>&nbsp;<span class="identifier">String</span><span class="symbol">)</span><span class="symbol">: </span><a href="-maker/index.html"><span class="identifier">Maker</span></a></code><br/>
<code><span class="keyword">fun </span><span class="identifier">fileDB</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.DBMaker$fileDB(java.io.File)/file">file</span><span class="symbol">:</span>&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/io/File.html"><span class="identifier">File</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="-maker/index.html"><span class="identifier">Maker</span></a></code></td>
</tr>
<tr>
<td>
<a href="heap-d-b.html">heapDB</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">heapDB</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="-maker/index.html"><span class="identifier">Maker</span></a></code><p>Creates new in-memory database which stores all data on heap without serialization.
This mode should be very fast, but data will affect Garbage Collector the same way as traditional Java Collections.</p>
</td>
</tr>
<tr>
<td>
<a href="heap-sharded-hash-map.html">heapShardedHashMap</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">heapShardedHashMap</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.DBMaker$heapShardedHashMap(kotlin.Int)/concurrency">concurrency</span><span class="symbol">:</span>&nbsp;<span class="identifier">Int</span><span class="symbol">)</span><span class="symbol">: </span><a href="../-d-b/-hash-map-maker/index.html"><span class="identifier">HashMapMaker</span></a><span class="symbol">&lt;</span><span class="identifier">*</span><span class="symbol">,</span>&nbsp;<span class="identifier">*</span><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="heap-sharded-hash-set.html">heapShardedHashSet</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">heapShardedHashSet</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.DBMaker$heapShardedHashSet(kotlin.Int)/concurrency">concurrency</span><span class="symbol">:</span>&nbsp;<span class="identifier">Int</span><span class="symbol">)</span><span class="symbol">: </span><a href="../-d-b/-hash-set-maker/index.html"><span class="identifier">HashSetMaker</span></a><span class="symbol">&lt;</span><span class="identifier">*</span><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="memory-d-b.html">memoryDB</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">memoryDB</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="-maker/index.html"><span class="identifier">Maker</span></a></code><p>Creates new in-memory database. Changes are lost after JVM exits.
This option serializes data into {@code byte[]},
so they are not affected by Garbage Collector.</p>
</td>
</tr>
<tr>
<td>
<a href="memory-direct-d-b.html">memoryDirectDB</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">memoryDirectDB</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="-maker/index.html"><span class="identifier">Maker</span></a></code></td>
</tr>
<tr>
<td>
<a href="memory-sharded-hash-map.html">memoryShardedHashMap</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">memoryShardedHashMap</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.DBMaker$memoryShardedHashMap(kotlin.Int)/concurrency">concurrency</span><span class="symbol">:</span>&nbsp;<span class="identifier">Int</span><span class="symbol">)</span><span class="symbol">: </span><a href="../-d-b/-hash-map-maker/index.html"><span class="identifier">HashMapMaker</span></a><span class="symbol">&lt;</span><span class="identifier">*</span><span class="symbol">,</span>&nbsp;<span class="identifier">*</span><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="memory-sharded-hash-set.html">memoryShardedHashSet</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">memoryShardedHashSet</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.DBMaker$memoryShardedHashSet(kotlin.Int)/concurrency">concurrency</span><span class="symbol">:</span>&nbsp;<span class="identifier">Int</span><span class="symbol">)</span><span class="symbol">: </span><a href="../-d-b/-hash-set-maker/index.html"><span class="identifier">HashSetMaker</span></a><span class="symbol">&lt;</span><span class="identifier">*</span><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="temp-file-d-b.html">tempFileDB</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">tempFileDB</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="-maker/index.html"><span class="identifier">Maker</span></a></code><p>Creates new database in temporary folder. Files are deleted after store was closed</p>
</td>
</tr>
<tr>
<td>
<a href="volume-d-b.html">volumeDB</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">volumeDB</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.DBMaker$volumeDB(org.mapdb.volume.Volume, kotlin.Boolean)/volume">volume</span><span class="symbol">:</span>&nbsp;<a href="../../org.mapdb.volume/-volume/index.html"><span class="identifier">Volume</span></a><span class="symbol">, </span><span class="identifier" id="org.mapdb.DBMaker$volumeDB(org.mapdb.volume.Volume, kotlin.Boolean)/volumeExists">volumeExists</span><span class="symbol">:</span>&nbsp;<span class="identifier">Boolean</span><span class="symbol">)</span><span class="symbol">: </span><a href="-maker/index.html"><span class="identifier">Maker</span></a></code></td>
</tr>
</tbody>
</table>
</BODY>
</HTML>
